﻿using System;
using System.Collections.Generic;
using System.Data;
namespace WPFExcelReport
{
    public partial class VVAKOLL
    {
        public readonly static VVAKOLL Instance = new VVAKOLL();

        private DataRow _dwVAK = null; public DataRow dwVAK { get { return _dwVAK; } set { _dwVAK = value; OnPropertyChanged("dwVAK", value); } }

        public void NEWVAK(Dictionary<string, object> pm)
        {
            string _KOLL = pm["KOLL"].ToString();
            if (_KOLL.Trim().Length == 0)
            {
                return;
            }
            dwData = TBMain.NewRow();
            SetUpNewRow(ref dwData);
            dwData["VAKKOLL"] = _KOLL;
            dwData["VAKKM1"] = pm["KM1"].ToString().Trim().PadRight(5);
            SResult = QVAK03(dwData);
            if (SResult.Tables[0].Rows.Count > 0)
                return;
            Insert(dwData);
        }
        public void Insert(DataRow _dwVAK)
        {
            InsertVAKOLL(_dwVAK, app.company);
            TBMain.Rows.InsertAt(_dwVAK, 0);
        }
        public override void OnAppModeChg()
        {
            base.OnAppModeChg();
            switch (app.company)
            {
                case "TST":
                    switch (app.AppMode)
                    {
                        case "TISSUE":
                            //KRS = "S" + MV.year.Substring(3, 1);
                            KM1 = "TSK".PadRight(5);
                            break;
                        case "TMODE":
                            //KRS = "M" + MV.year.Substring(3, 1);
                            KM1 = "TSM".PadRight(5);
                            break;

                    }
                    break;
                default:
                    KM1 = " ".PadRight(5);
                    break;
            }
        }
    }
    public partial class VVAKOLL
    {
        public string KM1 { get; set; } //lENGth 5

        public string VAKKM1 { get { if (dwMaster == null) return ""; return dwMaster["VAKKM1"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKKM1"] = value; OnPropertyChanged("VAKKM1", value); } } //lENGth 5
        public double VAKDATBIS { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["VAKDATBIS"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKDATBIS"] = value; OnPropertyChanged("VAKDATBIS", value); } } //lENGth 0
        public string VAKBEZ { get { if (dwMaster == null) return ""; return dwMaster["VAKBEZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKBEZ"] = value; OnPropertyChanged("VAKBEZ", value); } } //lENGth 20

        #region======ColumnSchema==========
        /*
                public string VAKMANDANT { get { if (dwMaster == null) return ""; return dwMaster["VAKMANDANT"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKMANDANT"] = value; OnPropertyChanged("VAKMANDANT", value); } } //lENGth 2
                public string VAKKOLL { get { if (dwMaster == null) return ""; return dwMaster["VAKKOLL"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKKOLL"] = value; OnPropertyChanged("VAKKOLL", value); } } //lENGth 5
                public string VAKOBERKOLL { get { if (dwMaster == null) return ""; return dwMaster["VAKOBERKOLL"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKOBERKOLL"] = value; OnPropertyChanged("VAKOBERKOLL", value); } } //lENGth 5
                public double VAKDATVON { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKDATVON"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKDATVON"] = value; OnPropertyChanged("VAKDATVON", value); } } //lENGth 0
                public double VAKSPERRDAT { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKSPERRDAT"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKSPERRDAT"] = value; OnPropertyChanged("VAKSPERRDAT", value); } } //lENGth 0
                public string VAKKUNDNR { get { if (dwMaster == null) return ""; return dwMaster["VAKKUNDNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKKUNDNR"] = value; OnPropertyChanged("VAKKUNDNR", value); } } //lENGth 8
                public string VAKBEM { get { if (dwMaster == null) return ""; return dwMaster["VAKBEM"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKBEM"] = value; OnPropertyChanged("VAKBEM", value); } } //lENGth 40
                public double VAKANTEIL1 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKANTEIL1"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKANTEIL1"] = value; OnPropertyChanged("VAKANTEIL1", value); } } //lENGth 0
                public double VAKANTEIL2 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKANTEIL2"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKANTEIL2"] = value; OnPropertyChanged("VAKANTEIL2", value); } } //lENGth 0
                public double VAKANTEIL3 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKANTEIL3"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKANTEIL3"] = value; OnPropertyChanged("VAKANTEIL3", value); } } //lENGth 0
                public double VAKANTEIL4 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKANTEIL4"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKANTEIL4"] = value; OnPropertyChanged("VAKANTEIL4", value); } } //lENGth 0
                public double VAKANTEIL5 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKANTEIL5"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKANTEIL5"] = value; OnPropertyChanged("VAKANTEIL5", value); } } //lENGth 0
                public double VAKANTEIL6 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKANTEIL6"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKANTEIL6"] = value; OnPropertyChanged("VAKANTEIL6", value); } } //lENGth 0
                public double VAKANTEIL7 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKANTEIL7"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKANTEIL7"] = value; OnPropertyChanged("VAKANTEIL7", value); } } //lENGth 0
                public double VAKANTEIL8 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKANTEIL8"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKANTEIL8"] = value; OnPropertyChanged("VAKANTEIL8", value); } } //lENGth 0
                public double VAKANTEIL9 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKANTEIL9"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKANTEIL9"] = value; OnPropertyChanged("VAKANTEIL9", value); } } //lENGth 0
                public double VAKANTEIL10 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKANTEIL10"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKANTEIL10"] = value; OnPropertyChanged("VAKANTEIL10", value); } } //lENGth 0
                public double VAKANTEIL11 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKANTEIL11"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKANTEIL11"] = value; OnPropertyChanged("VAKANTEIL11", value); } } //lENGth 0
                public double VAKANTEIL12 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKANTEIL12"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKANTEIL12"] = value; OnPropertyChanged("VAKANTEIL12", value); } } //lENGth 0
                public double VAKAENDZL { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKAENDZL"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKAENDZL"] = value; OnPropertyChanged("VAKAENDZL", value); } } //lENGth 0
                public string VAKAENDBEN { get { if (dwMaster == null) return ""; return dwMaster["VAKAENDBEN"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKAENDBEN"] = value; OnPropertyChanged("VAKAENDBEN", value); } } //lENGth 8
                public double VAKAENDDAT { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKAENDDAT"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKAENDDAT"] = value; OnPropertyChanged("VAKAENDDAT", value); } } //lENGth 0
                public string VAKNEUBEN { get { if (dwMaster == null) return ""; return dwMaster["VAKNEUBEN"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKNEUBEN"] = value; OnPropertyChanged("VAKNEUBEN", value); } } //lENGth 8
                public double VAKNEUDAT { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKNEUDAT"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKNEUDAT"] = value; OnPropertyChanged("VAKNEUDAT", value); } } //lENGth 0
                public double VAKLFSGRDA { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKLFSGRDA"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKLFSGRDA"] = value; OnPropertyChanged("VAKLFSGRDA", value); } } //lENGth 0
                public double VAKLFSGRDB { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKLFSGRDB"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKLFSGRDB"] = value; OnPropertyChanged("VAKLFSGRDB", value); } } //lENGth 0
                public double VAKLFSGRDC { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKLFSGRDC"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKLFSGRDC"] = value; OnPropertyChanged("VAKLFSGRDC", value); } } //lENGth 0
                public string VAKMEEH { get { if (dwMaster == null) return ""; return dwMaster["VAKMEEH"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKMEEH"] = value; OnPropertyChanged("VAKMEEH", value); } } //lENGth 3
                public string VAKMEEHGRP { get { if (dwMaster == null) return ""; return dwMaster["VAKMEEHGRP"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKMEEHGRP"] = value; OnPropertyChanged("VAKMEEHGRP", value); } } //lENGth 1
                public string VAKMEEHFKT { get { if (dwMaster == null) return ""; return dwMaster["VAKMEEHFKT"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKMEEHFKT"] = value; OnPropertyChanged("VAKMEEHFKT", value); } } //lENGth 12
                public double VAKLTERMIN1 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKLTERMIN1"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKLTERMIN1"] = value; OnPropertyChanged("VAKLTERMIN1", value); } } //lENGth 0
                public double VAKLTERMIN2 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKLTERMIN2"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKLTERMIN2"] = value; OnPropertyChanged("VAKLTERMIN2", value); } } //lENGth 0
                public double VAKLTERMIN3 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKLTERMIN3"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKLTERMIN3"] = value; OnPropertyChanged("VAKLTERMIN3", value); } } //lENGth 0
                public double VAKLTERMIN4 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKLTERMIN4"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKLTERMIN4"] = value; OnPropertyChanged("VAKLTERMIN4", value); } } //lENGth 0
                public double VAKLTERMIN5 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKLTERMIN5"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKLTERMIN5"] = value; OnPropertyChanged("VAKLTERMIN5", value); } } //lENGth 0
                public double VAKLTERMIN6 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKLTERMIN6"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKLTERMIN6"] = value; OnPropertyChanged("VAKLTERMIN6", value); } } //lENGth 0
                public double VAKLTERMIN7 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKLTERMIN7"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKLTERMIN7"] = value; OnPropertyChanged("VAKLTERMIN7", value); } } //lENGth 0
                public double VAKLTERMIN8 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKLTERMIN8"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKLTERMIN8"] = value; OnPropertyChanged("VAKLTERMIN8", value); } } //lENGth 0
                public double VAKLTERMIN9 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKLTERMIN9"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKLTERMIN9"] = value; OnPropertyChanged("VAKLTERMIN9", value); } } //lENGth 0
                public double VAKLTERMIN10 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKLTERMIN10"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKLTERMIN10"] = value; OnPropertyChanged("VAKLTERMIN10", value); } } //lENGth 0
                public double VAKLTERMIN11 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKLTERMIN11"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKLTERMIN11"] = value; OnPropertyChanged("VAKLTERMIN11", value); } } //lENGth 0
                public double VAKLTERMIN12 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKLTERMIN12"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKLTERMIN12"] = value; OnPropertyChanged("VAKLTERMIN12", value); } } //lENGth 0
                public string VAKFIX { get { if (dwMaster == null) return ""; return dwMaster["VAKFIX"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKFIX"] = value; OnPropertyChanged("VAKFIX", value); } } //lENGth 1
                public string VAKARTGEN { get { if (dwMaster == null) return ""; return dwMaster["VAKARTGEN"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKARTGEN"] = value; OnPropertyChanged("VAKARTGEN", value); } } //lENGth 1
                public double VAKSTVON1 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKSTVON1"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKSTVON1"] = value; OnPropertyChanged("VAKSTVON1", value); } } //lENGth 0
                public double VAKSTBIS1 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKSTBIS1"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKSTBIS1"] = value; OnPropertyChanged("VAKSTBIS1", value); } } //lENGth 0
                public string VAKPRKZ1 { get { if (dwMaster == null) return ""; return dwMaster["VAKPRKZ1"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKPRKZ1"] = value; OnPropertyChanged("VAKPRKZ1", value); } } //lENGth 1
                public double VAKSTVON2 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKSTVON2"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKSTVON2"] = value; OnPropertyChanged("VAKSTVON2", value); } } //lENGth 0
                public double VAKSTBIS2 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKSTBIS2"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKSTBIS2"] = value; OnPropertyChanged("VAKSTBIS2", value); } } //lENGth 0
                public string VAKPRKZ2 { get { if (dwMaster == null) return ""; return dwMaster["VAKPRKZ2"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKPRKZ2"] = value; OnPropertyChanged("VAKPRKZ2", value); } } //lENGth 1
                public double VAKSTVON3 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKSTVON3"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKSTVON3"] = value; OnPropertyChanged("VAKSTVON3", value); } } //lENGth 0
                public double VAKSTBIS3 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKSTBIS3"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKSTBIS3"] = value; OnPropertyChanged("VAKSTBIS3", value); } } //lENGth 0
                public string VAKPRKZ3 { get { if (dwMaster == null) return ""; return dwMaster["VAKPRKZ3"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKPRKZ3"] = value; OnPropertyChanged("VAKPRKZ3", value); } } //lENGth 1
                public double VAKSTVON4 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKSTVON4"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKSTVON4"] = value; OnPropertyChanged("VAKSTVON4", value); } } //lENGth 0
                public double VAKSTBIS4 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKSTBIS4"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKSTBIS4"] = value; OnPropertyChanged("VAKSTBIS4", value); } } //lENGth 0
                public string VAKPRKZ4 { get { if (dwMaster == null) return ""; return dwMaster["VAKPRKZ4"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKPRKZ4"] = value; OnPropertyChanged("VAKPRKZ4", value); } } //lENGth 1
                public string VAKMODNEU { get { if (dwMaster == null) return ""; return dwMaster["VAKMODNEU"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKMODNEU"] = value; OnPropertyChanged("VAKMODNEU", value); } } //lENGth 1
                public double VAKPSTVO { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKPSTVO"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKPSTVO"] = value; OnPropertyChanged("VAKPSTVO", value); } } //lENGth 0
                public double VAKPSTHI { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKPSTHI"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKPSTHI"] = value; OnPropertyChanged("VAKPSTHI", value); } } //lENGth 0
                public double VAKPANZEL { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKPANZEL"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKPANZEL"] = value; OnPropertyChanged("VAKPANZEL", value); } } //lENGth 0
                public string VAKPRZUSCHL { get { if (dwMaster == null) return ""; return dwMaster["VAKPRZUSCHL"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKPRZUSCHL"] = value; OnPropertyChanged("VAKPRZUSCHL", value); } } //lENGth 1
                public double VAKVOM1 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKVOM1"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKVOM1"] = value; OnPropertyChanged("VAKVOM1", value); } } //lENGth 0
                public double VAKHIM1 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKHIM1"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKHIM1"] = value; OnPropertyChanged("VAKHIM1", value); } } //lENGth 0
                public double VAKELM1 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKELM1"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKELM1"] = value; OnPropertyChanged("VAKELM1", value); } } //lENGth 0
                public double VAKSTM1 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKSTM1"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKSTM1"] = value; OnPropertyChanged("VAKSTM1", value); } } //lENGth 0
                public string VAKGRM1 { get { if (dwMaster == null) return ""; return dwMaster["VAKGRM1"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKGRM1"] = value; OnPropertyChanged("VAKGRM1", value); } } //lENGth 10
                public string VAKKZM1 { get { if (dwMaster == null) return ""; return dwMaster["VAKKZM1"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKKZM1"] = value; OnPropertyChanged("VAKKZM1", value); } } //lENGth 1
                public string VAKFBM1 { get { if (dwMaster == null) return ""; return dwMaster["VAKFBM1"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKFBM1"] = value; OnPropertyChanged("VAKFBM1", value); } } //lENGth 10
                public string VAKPTM1 { get { if (dwMaster == null) return ""; return dwMaster["VAKPTM1"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKPTM1"] = value; OnPropertyChanged("VAKPTM1", value); } } //lENGth 3
                public string VAKPKM1 { get { if (dwMaster == null) return ""; return dwMaster["VAKPKM1"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKPKM1"] = value; OnPropertyChanged("VAKPKM1", value); } } //lENGth 2
                public double VAKLZM1 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKLZM1"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKLZM1"] = value; OnPropertyChanged("VAKLZM1", value); } } //lENGth 0
                public string VAKVSM1 { get { if (dwMaster == null) return ""; return dwMaster["VAKVSM1"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKVSM1"] = value; OnPropertyChanged("VAKVSM1", value); } } //lENGth 3
                public string VAKSPM1 { get { if (dwMaster == null) return ""; return dwMaster["VAKSPM1"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKSPM1"] = value; OnPropertyChanged("VAKSPM1", value); } } //lENGth 3
                public string VAKAGM1 { get { if (dwMaster == null) return ""; return dwMaster["VAKAGM1"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKAGM1"] = value; OnPropertyChanged("VAKAGM1", value); } } //lENGth 1
                public string VAKBZM1 { get { if (dwMaster == null) return ""; return dwMaster["VAKBZM1"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKBZM1"] = value; OnPropertyChanged("VAKBZM1", value); } } //lENGth 2
                public string VAKKM2 { get { if (dwMaster == null) return ""; return dwMaster["VAKKM2"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKKM2"] = value; OnPropertyChanged("VAKKM2", value); } } //lENGth 5
                public double VAKVOM2 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKVOM2"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKVOM2"] = value; OnPropertyChanged("VAKVOM2", value); } } //lENGth 0
                public double VAKHIM2 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKHIM2"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKHIM2"] = value; OnPropertyChanged("VAKHIM2", value); } } //lENGth 0
                public double VAKELM2 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKELM2"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKELM2"] = value; OnPropertyChanged("VAKELM2", value); } } //lENGth 0
                public double VAKSTM2 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKSTM2"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKSTM2"] = value; OnPropertyChanged("VAKSTM2", value); } } //lENGth 0
                public string VAKGRM2 { get { if (dwMaster == null) return ""; return dwMaster["VAKGRM2"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKGRM2"] = value; OnPropertyChanged("VAKGRM2", value); } } //lENGth 10
                public string VAKKZM2 { get { if (dwMaster == null) return ""; return dwMaster["VAKKZM2"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKKZM2"] = value; OnPropertyChanged("VAKKZM2", value); } } //lENGth 1
                public string VAKFBM2 { get { if (dwMaster == null) return ""; return dwMaster["VAKFBM2"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKFBM2"] = value; OnPropertyChanged("VAKFBM2", value); } } //lENGth 10
                public string VAKPTM2 { get { if (dwMaster == null) return ""; return dwMaster["VAKPTM2"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKPTM2"] = value; OnPropertyChanged("VAKPTM2", value); } } //lENGth 3
                public string VAKPKM2 { get { if (dwMaster == null) return ""; return dwMaster["VAKPKM2"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKPKM2"] = value; OnPropertyChanged("VAKPKM2", value); } } //lENGth 2
                public double VAKLZM2 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKLZM2"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKLZM2"] = value; OnPropertyChanged("VAKLZM2", value); } } //lENGth 0
                public string VAKAGM2 { get { if (dwMaster == null) return ""; return dwMaster["VAKAGM2"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKAGM2"] = value; OnPropertyChanged("VAKAGM2", value); } } //lENGth 1
                public string VAKBZM2 { get { if (dwMaster == null) return ""; return dwMaster["VAKBZM2"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKBZM2"] = value; OnPropertyChanged("VAKBZM2", value); } } //lENGth 2
                public string VAKKM3 { get { if (dwMaster == null) return ""; return dwMaster["VAKKM3"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKKM3"] = value; OnPropertyChanged("VAKKM3", value); } } //lENGth 5
                public double VAKVOM3 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKVOM3"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKVOM3"] = value; OnPropertyChanged("VAKVOM3", value); } } //lENGth 0
                public double VAKHIM3 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKHIM3"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKHIM3"] = value; OnPropertyChanged("VAKHIM3", value); } } //lENGth 0
                public double VAKELM3 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKELM3"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKELM3"] = value; OnPropertyChanged("VAKELM3", value); } } //lENGth 0
                public double VAKSTM3 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKSTM3"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKSTM3"] = value; OnPropertyChanged("VAKSTM3", value); } } //lENGth 0
                public string VAKGRM3 { get { if (dwMaster == null) return ""; return dwMaster["VAKGRM3"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKGRM3"] = value; OnPropertyChanged("VAKGRM3", value); } } //lENGth 10
                public string VAKKZM3 { get { if (dwMaster == null) return ""; return dwMaster["VAKKZM3"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKKZM3"] = value; OnPropertyChanged("VAKKZM3", value); } } //lENGth 1
                public string VAKFBM3 { get { if (dwMaster == null) return ""; return dwMaster["VAKFBM3"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKFBM3"] = value; OnPropertyChanged("VAKFBM3", value); } } //lENGth 10
                public string VAKPTM3 { get { if (dwMaster == null) return ""; return dwMaster["VAKPTM3"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKPTM3"] = value; OnPropertyChanged("VAKPTM3", value); } } //lENGth 3
                public string VAKPKM3 { get { if (dwMaster == null) return ""; return dwMaster["VAKPKM3"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKPKM3"] = value; OnPropertyChanged("VAKPKM3", value); } } //lENGth 2
                public double VAKLZM3 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKLZM3"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKLZM3"] = value; OnPropertyChanged("VAKLZM3", value); } } //lENGth 0
                public string VAKAGM3 { get { if (dwMaster == null) return ""; return dwMaster["VAKAGM3"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKAGM3"] = value; OnPropertyChanged("VAKAGM3", value); } } //lENGth 1
                public string VAKBZM3 { get { if (dwMaster == null) return ""; return dwMaster["VAKBZM3"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKBZM3"] = value; OnPropertyChanged("VAKBZM3", value); } } //lENGth 2
                public string VAKPTC { get { if (dwMaster == null) return ""; return dwMaster["VAKPTC"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKPTC"] = value; OnPropertyChanged("VAKPTC", value); } } //lENGth 3
                public string VAKPKC { get { if (dwMaster == null) return ""; return dwMaster["VAKPKC"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKPKC"] = value; OnPropertyChanged("VAKPKC", value); } } //lENGth 2
                public double VAKLZC { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKLZC"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKLZC"] = value; OnPropertyChanged("VAKLZC", value); } } //lENGth 0
                public string VAKVSC { get { if (dwMaster == null) return ""; return dwMaster["VAKVSC"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKVSC"] = value; OnPropertyChanged("VAKVSC", value); } } //lENGth 3
                public string VAKSPC { get { if (dwMaster == null) return ""; return dwMaster["VAKSPC"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKSPC"] = value; OnPropertyChanged("VAKSPC", value); } } //lENGth 3
                public string VAKCKZC { get { if (dwMaster == null) return ""; return dwMaster["VAKCKZC"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKCKZC"] = value; OnPropertyChanged("VAKCKZC", value); } } //lENGth 1
                public string VAKAUFTR { get { if (dwMaster == null) return ""; return dwMaster["VAKAUFTR"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKAUFTR"] = value; OnPropertyChanged("VAKAUFTR", value); } } //lENGth 1
                public double VAKANGVON { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKANGVON"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKANGVON"] = value; OnPropertyChanged("VAKANGVON", value); } } //lENGth 0
                public double VAKANGBIS { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKANGBIS"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKANGBIS"] = value; OnPropertyChanged("VAKANGBIS", value); } } //lENGth 0
                public double VAKSAMVON { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKSAMVON"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKSAMVON"] = value; OnPropertyChanged("VAKSAMVON", value); } } //lENGth 0
                public double VAKSAMBIS { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKSAMBIS"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKSAMBIS"] = value; OnPropertyChanged("VAKSAMBIS", value); } } //lENGth 0
                public string VAKSAMPT1 { get { if (dwMaster == null) return ""; return dwMaster["VAKSAMPT1"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKSAMPT1"] = value; OnPropertyChanged("VAKSAMPT1", value); } } //lENGth 3
                public string VAKSAMPT2 { get { if (dwMaster == null) return ""; return dwMaster["VAKSAMPT2"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKSAMPT2"] = value; OnPropertyChanged("VAKSAMPT2", value); } } //lENGth 3
                public string VAKSAMPT3 { get { if (dwMaster == null) return ""; return dwMaster["VAKSAMPT3"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKSAMPT3"] = value; OnPropertyChanged("VAKSAMPT3", value); } } //lENGth 3
                public string VAKSAMPT4 { get { if (dwMaster == null) return ""; return dwMaster["VAKSAMPT4"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKSAMPT4"] = value; OnPropertyChanged("VAKSAMPT4", value); } } //lENGth 3
                public string VAKSAMPT5 { get { if (dwMaster == null) return ""; return dwMaster["VAKSAMPT5"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKSAMPT5"] = value; OnPropertyChanged("VAKSAMPT5", value); } } //lENGth 3
                public string VAKSAMPT6 { get { if (dwMaster == null) return ""; return dwMaster["VAKSAMPT6"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKSAMPT6"] = value; OnPropertyChanged("VAKSAMPT6", value); } } //lENGth 3
                public string VAKSAMPT7 { get { if (dwMaster == null) return ""; return dwMaster["VAKSAMPT7"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKSAMPT7"] = value; OnPropertyChanged("VAKSAMPT7", value); } } //lENGth 3
                public string VAKSAMPT8 { get { if (dwMaster == null) return ""; return dwMaster["VAKSAMPT8"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKSAMPT8"] = value; OnPropertyChanged("VAKSAMPT8", value); } } //lENGth 3
                public double VAKAUFVON { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKAUFVON"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKAUFVON"] = value; OnPropertyChanged("VAKAUFVON", value); } } //lENGth 0
                public double VAKAUFBIS { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["VAKAUFBIS"].ToString()); } set { if (dwMaster == null) return; dwMaster["VAKAUFBIS"] = value; OnPropertyChanged("VAKAUFBIS", value); } } //lENGth 0
                public string VAKFILLER { get { if (dwMaster == null) return ""; return dwMaster["VAKFILLER"].ToString(); } set { if (dwMaster == null) return; dwMaster["VAKFILLER"] = value; OnPropertyChanged("VAKFILLER", value); } } //lENGth 57
       */
        #endregion
    }

}